Fully Qualified Name: | Laminas\View\Helper\Placeholder\Registry |
Registry for placeholder containers
Name | Description | Defined By |
---|---|---|
containerExists() | Does a particular container exist? | Registry |
createContainer() | createContainer | Registry |
deleteContainer() | Delete a container | Registry |
getContainer() | Retrieve a placeholder container | Registry |
getContainerClass() | Retrieve the container class | Registry |
getRegistry() | Retrieve or create registry instance | Registry |
setContainer() | Set the container for an item in the registry | Registry |
setContainerClass() | Set the container class to use | Registry |
unsetRegistry() | Unset the singleton | Registry |
Does a particular container exist?
Parameter Name | Type | Description |
---|---|---|
$key | string |
Returns: bool
createContainer
Parameter Name | Type | Description |
---|---|---|
$key | string | |
$value | array |
Returns: \Container\AbstractContainer
Delete a container
Parameter Name | Type | Description |
---|---|---|
$key | string |
Returns: bool
Retrieve a placeholder container
Parameter Name | Type | Description |
---|---|---|
$key | string |
Returns: \Container\AbstractContainer
Retrieve the container class
Returns: string
Retrieve or create registry instance
Returns: \Registry
Set the container for an item in the registry
Parameter Name | Type | Description |
---|---|---|
$key | string | |
$container | \Container\AbstractContainer |
Returns: \Registry
Set the container class to use
Parameter Name | Type | Description |
---|---|---|
$name | string |
Returns: \Registry
Unset the singleton
Primarily useful for testing purposes; sets {@link $instance} to null.
Returns: void